package com.ra.landlord.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * Landlord常量类
 *
 * @author  colin 
 * @version 2014-9-22 
 */
public class LandlordConstant {
	
	//租客的默认密码
	public static String TENANTUSER_DEFAULT_PASSWORD = "111111";
	
	//房间状态-出租
	public static int RENT_STATE_ALREADY = 0;
	
	//房间状态-未出租
	public static int RENT_STATE_NOYET = 1;
	
	//房间状态-预定
	public static int RENT_STATE_BOOK = 2;
	
	//房间状态-换房
	public static int RENT_STATE_CHANGE = 3;
	
	//房间状态-隐藏
	public static int RENT_STATE_HIDDEN = 4;
	
	//合同状态-过期(未出租)
	public static int AGREEMENT_STATE_INVALID = 1;
	
	//合同状态-有效（已出租）
	public static int AGREEMENT_STATE_VALID = 0;
	
	//费用类型-含押金
	public static int FEE_STATE_HAS_DEPOSIT = 3;
	
	//房间押付模式-押一付一
	public static int ROOM_RENTTYPE_1T1 = 0;
	
	//房间押付模式-两押一付
	public static int ROOM_RENTTYPE_2T1 = 1;
	
	//房间押付模式-三押一付
	public static int ROOM_RENTTYPE_3T1 = 2;
	
	//房间押付模式-四押一付
	public static int ROOM_RENTTYPE_4T1 = 3;
	
	//房间押付模式-一押两付
	public static int ROOM_RENTTYPE_1T2 = 4;
	
	//房间押付模式-两押两付
	public static int ROOM_RENTTYPE_2T2 = 5;
	
	//房间押付模式-三押两付
	public static int ROOM_RENTTYPE_3T2 = 6;
	
	//房间押付模式-四押两付
	public static int ROOM_RENTTYPE_4T2 = 7;
	
	//房间押付模式-一押三付
	public static int ROOM_RENTTYPE_1T3 = 8;
	
	//房间押付模式-两押三付
	public static int ROOM_RENTTYPE_2T3 = 9;
	
	//房间押付模式-三押三付
	public static int ROOM_RENTTYPE_3T3 = 10;
	
	//房间押付模式-四押三付
	public static int ROOM_RENTTYPE_4T3 = 11;
	
	//费用状态-删除
	public static final int FEE_STATE_DEL = 0;
	
	//费用状态-已确认
	public static final int FEE_STATE_CONFIRMED = 1;
	
	//费用状态-待确认
	public static final int FEE_STATE_CONFIRMEING = 2;
	
	//性别: 未知
	public static final int GENDER_UNKOWN = 0;
	
	//性别: 男
	public static final int GENDER_MALE = 1;
	
	//性别: 女
	public static final int GENDER_FEMALE = 2;
	
	//房间押付模式MAP
	public static Map<Integer,String> ROOM_RENTTYPE_DESCRIBE = new HashMap<Integer,String>();
	
	static{
		ROOM_RENTTYPE_DESCRIBE.put(ROOM_RENTTYPE_1T1, "押一付一");
		ROOM_RENTTYPE_DESCRIBE.put(ROOM_RENTTYPE_2T1, "两押一付");
		ROOM_RENTTYPE_DESCRIBE.put(ROOM_RENTTYPE_3T1, "三押一付");
		ROOM_RENTTYPE_DESCRIBE.put(ROOM_RENTTYPE_4T1, "四押一付");
		ROOM_RENTTYPE_DESCRIBE.put(ROOM_RENTTYPE_1T2, "一押两付");
		ROOM_RENTTYPE_DESCRIBE.put(ROOM_RENTTYPE_2T2, "两押两付");
		ROOM_RENTTYPE_DESCRIBE.put(ROOM_RENTTYPE_3T2, "三押两付");
		ROOM_RENTTYPE_DESCRIBE.put(ROOM_RENTTYPE_4T2, "四押两付");
		ROOM_RENTTYPE_DESCRIBE.put(ROOM_RENTTYPE_1T3, "一押三付");
		ROOM_RENTTYPE_DESCRIBE.put(ROOM_RENTTYPE_2T3, "两押三付");
		ROOM_RENTTYPE_DESCRIBE.put(ROOM_RENTTYPE_3T3, "三押三付");
		ROOM_RENTTYPE_DESCRIBE.put(ROOM_RENTTYPE_4T3, "四押三付");
	}
	
	//出租周期类型-月
	public static final int RENT_CYCLE_TYPE_MONTH = 0; 
	
	//出租周期类型-天
	public static final int RENT_CYCLE_TYPE_DAY = 1; 
	
	//出租周期类型-年
	public static final int RENT_CYCLE_TYPE_YEAR = 2; 
	
	//出租周期类型-描述
	public static final String[] RENT_CYCLE_TYPE_DESC = new String[]{"月","天","年"};
	
	//房间类型-DA
	public static final Integer ROOMTYPE_DA = 0;
	
	//房间类型-RA
	public static final Integer ROOMTYPE_RA = 1;
	
	public static final String MILLIACTIVITY_DESC = "百万活动";
}
